package com.whimscrew.area.model;


import java.io.Serializable;
import java.util.Set;

public class StoreChange  implements Serializable {


    private static final long serialVersionUID = -7130815230123179767L;


    private Set<StoreDTO> storeList;

    //用于告诉消费者触发事件的动作，好让消费者处理上下文关系
    private String action;

    //方便日后的消息跟踪和调试
    private String tokenId;

    private String areaCode;


    public Set<StoreDTO> getStoreList() {
        return storeList;
    }

    public StoreChange setStoreList(Set<StoreDTO> storeList) {
        this.storeList = storeList;
        return this;
    }

    public String getAction() {
        return action;
    }

    public StoreChange setAction(String action) {
        this.action = action;
        return this;
    }

    public String getTokenId() {
        return tokenId;
    }

    public StoreChange setTokenId(String tokenId) {
        this.tokenId = tokenId;
        return this;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public StoreChange setAreaCode(String areaCode) {
        this.areaCode = areaCode;
        return this;
    }
}
